package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("vaccine_num")
@ApiModel(value = "VaccineNum对象", description = "")
public class VaccineNum implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("疫苗id")
    @TableField("vaccine_id")
    private Integer vaccineId;

    @ApiModelProperty("疫苗数量")
    @TableField("vaccine_num")
    private Integer vaccineNum;

    @ApiModelProperty("疫苗冻结数量")
    @TableField("vaccine_freeze_num")
    private Integer vaccineFreezeNum;

    @ApiModelProperty("删除标志")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("创建者")
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("更新者")
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
    private String updateBy;


}
